#include <stdio.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(void)
 {
 	double a,b,c,d,e,f;
 	a=4;
 	b=10;
 	c=a+b;
 	d=b-a;
 	e=a*b;
 	f=a/b;
 	printf("c=%lf.\n",c);
 	printf("d=%lf.\n",d);
 	printf("e=%lf.\n",e);
 	printf("f=%lf.\n",f);
 	int x,y,g;
 	x=(int)a;
 	y=(int)b;
 	g=x%y;
 	printf("g=%d.\n",g);
 	
	return 0;
	
}
